<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://lib.baomitu.com/jquery/2.2.4/jquery.js"></script>
</head>

<body>
    <script>
        /* movie */
        $.ajax({
            /* 电影 */
            url: "/movie",
            success: res => {
                console.log(res, 'res1')
                $.ajax({
                    /* 评论 */
                    url: '/rating/id=1003',
                    success: res => {
                        console.log(res, 'res2')
                        $.ajax({
                            /* 用户 */
                            url: '/user/id=3003',
                            success: res => {
                                console.log(res, 'res3')
                            }
                        })
                    }
                })
            }
        })
    </script>
</body>

</html>